#include <bits/stdc++.h>

using namespace std;

typedef long long ll;

const int N = 1;
const int M = 1e9 + 7;

int x, y;

int main()
{
#ifdef LOCAL
    freopen("in.txt", "r", stdin);
    freopen("out.txt", "w", stdout);
#endif
    ios::sync_with_stdio(false), cin.tie(0);
    scanf("%d.%d", &x, &y);

    if (0 <= y and y <= 2)
        cout << x << '-' << endl;
    else if (3 <= y and y <= 6)
        cout << x << endl;
    else
        cout << x << '+' << endl;
    return 0;
}